// @flow

import React from "react";

const Swap = ({ size = 15 }: { size?: number }) => (
  <svg viewBox="0 0 15 17" width={(size / 15) * 15} height={(size / 15) * 17}>
    <path
      fill="currentColor"
      d="M3.702,13.025l1.124,1.123c0.282,0.304,0.266,0.778-0.038,1.061c-0.288,0.269-0.734,0.269-1.022,0L1.36,12.805 c-0.292-0.293-0.292-0.767,0-1.06L3.766,9.34c0.303-0.282,0.777-0.266,1.06,0.037c0.268,0.289,0.268,0.734,0,1.023l-1.124,1.123 h9.473V9.3c0-0.414,0.336-0.75,0.75-0.75c0.415,0,0.75,0.336,0.75,0.75v2.976c0,0.414-0.335,0.75-0.75,0.75H3.702z M12.248,3.025 l-1.124-1.124c-0.282-0.303-0.266-0.777,0.038-1.06c0.287-0.268,0.734-0.268,1.021,0l2.405,2.404c0.292,0.293,0.292,0.767,0,1.06 L12.184,6.71c-0.303,0.282-0.777,0.266-1.06-0.038c-0.269-0.288-0.269-0.734,0-1.022l1.124-1.124H2.775V6.75 c0,0.414-0.335,0.75-0.75,0.75c-0.414,0-0.75-0.336-0.75-0.75V3.775c0-0.414,0.336-0.75,0.75-0.75H12.248z"
    />
  </svg>
);

export default Swap;
